package com.shop.cereshop.business.dl.logic.domian;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.shop.cereshop.commons.domain.buyer.CereBuyerUser;
import com.shop.cereshop.commons.domain.product.CereShopProduct;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * cere_platform_user_point
 * @author 
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
public class CerePlatformUserPoint implements Serializable {
    private Long pointId;

    private Long buyerUserId;

    private Long newsId;

    private Integer points;
    //一条积分对应一个用户
    private CereBuyerUser buyerUser;
    //对应一个咨询
    private CareShopNews shopNews;
    //对应一个商品
    private CereShopProduct shopProduct;
    /**
     * 1 转发资讯 2 签到
     */
    private Short sourceType;

    private String memo;

    private Date time;

    private Long productId;

    private static final long serialVersionUID = 1L;
}